/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lineandrect;

import javax.swing.JFrame;

/**
 *
 * @author Mr.D
 */
public class frame extends JFrame{
    public frame(){
        setBounds(0, 0, 800, 570);
//        setAlwaysOnTop(true);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        //setUndecorated(true);
        panel p = new panel();
        setContentPane(p);
    }

}
